﻿public class HomeWork {
	String schoolName;
	int classNum;
	int labNum;
	
	public void showCenter(){
		System.out.println(schoolName+"培训学员\n"+"配备："+classNum+"教"+labNum+"机");
	}
	
	public static void main(String[] args) {
		HomeWork center = new HomeWork();
		System.out.println("***初始化成员变量前***");
		center.showCenter();
		center.schoolName = "北京中心";
		center.classNum = 10;
		center.labNum = 10;
		System.out.println("\n***初始化成员变量后***");
		center.showCenter();
		
	}
}